﻿/*
 * Created by SharpDevelop.
 * User: mac
 * Date: 13.09.2006
 * Time: 16:03
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace TagTool.GraphicTypes
{

	public class TransformDelta
	{
		private double speed;
		private double spin;
		private PointD zoom = PointD.Origin;
		private PointD direction = PointD.Origin;

		public TransformDelta()
		{
		}
		
		public PointD Direction
		{
			get { return direction; }
			set { direction = value; }
		}
		
		public PointD Zoom
		{
			get { return zoom; }
			set { zoom = value; }
		}
		
		public double Spin
		{
			get { return spin; }
			set { spin = value; }
		}
		
		public double Speed
		{
			get { return speed; }
			set { speed = value; }
		}
		
		public void Add(TransformDelta delta)
		{
			speed += delta.speed;
			spin += delta.spin;
			zoom += delta.zoom;
			direction += delta.direction;
		}
	}
}
